const mongoose = require('mongoose');

var MerchantSchema = new mongoose.Schema({
    _id : {
        type : String
    },
    status : {
        type : Number,
        default : 0
    },
    createDate : {
        type : Date,
        default: Date.now
    },
    low_warning : Boolean,
    detail : {}
});

var Merchant = mongoose.model('Merchant', MerchantSchema);